import request from '@/utils/request'



export function getMonthInit() {
  return request({
    url: '/ocean/logTotal/getMonthInit',
    method: 'get',
  })
}

// 查询操作日志统计列表
export function listLogTotal(query) {
  return request({
    url: '/ocean/logTotal/list',
    method: 'get',
    params: query
  })
}
export function listLogTotalQC(query) {
  return request({
    url: '/ocean/logTotal/listQC',
    method: 'get',
    params: query
  })
}
// 查询操作日志统计详细
export function getLogTotal(id) {
  return request({
    url: '/ocean/logTotal/' + id,
    method: 'get'
  })
}

// 新增操作日志统计
export function addLogTotal(data) {
  return request({
    url: '/ocean/logTotal',
    method: 'post',
    data: data
  })
}

// 修改操作日志统计
export function updateLogTotal(data) {
  return request({
    url: '/ocean/logTotal',
    method: 'put',
    data: data
  })
}

// 删除操作日志统计
export function delLogTotal(id) {
  return request({
    url: '/ocean/logTotal/' + id,
    method: 'delete'
  })
}
